<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/token.jsp"%>
<%@ include file="/common/operatehistory.jsp"%>
<%
    // 取消关注科室医生
    OperateHistory oh = OperateHistory.fromMap(parameters, OperateHistory.class);
    oh.setUid(token.getUid() + "");
    oh.setCategory(SECTION_DOCTOR);
    oh.setOperate(ATTENTION);
	// 取消报告权限
	OperateHistory ohAuthReport = OperateHistory.fromMap(parameters, OperateHistory.class);
	ohAuthReport.setUid(token.getUid() + "");
    ohAuthReport.setCategory(SECTION_DOCTOR);
    ohAuthReport.setOperate(AUTH_REPORT);
	operate(ohAuthReport, true);
	// 取消医生对病人的特别关注
	OperateHistory ohDoctor = OperateHistory.fromMap(parameters, OperateHistory.class);
	ohDoctor.setUid(oh.getOid() + "");
    ohDoctor.setCategory(SECTION_PATIENT);
    ohDoctor.setOperate(ATTENTION);
	ohDoctor.setOid(token.getUid() + "");
	operate(ohAuthReport, true);
	operate(ohDoctor, true);
    Tools.encryptPrint(out, operate(oh, true));
%>
